
package ch.hearc.cryptologie.cryptographie.decalage.rot13.use;

import ch.hearc.cryptologie.cryptographie.decalage.rot13.obj.Rot13;

public class UseRot13
	{
	
	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/
	
	public static void main(String[] args)
		{
		main();
		}
	
	public static void main()
		{
		Rot13 rot = new Rot13();
		
		String msg = "Hello";
		String cryptedMsg = rot.crypt(msg);
		String decryptedMsg = rot.decrypt(cryptedMsg);
		System.out.println(cryptedMsg);
		System.out.println(decryptedMsg);
		}
	
	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/
	
	}
